﻿namespace MSAcademic.v2.Infrastructure.Picture.Impl
{
    public partial class PictureImpl : IPicture
    {
        public int Id { get; set; }
        public string Url { get; set; }
        public string Caption { get; set; }
        public bool IsHidden { get; set; }
        public int GalleryId { get; set; }
    }
    public partial class PictureImpl
    {
        public PictureImpl(Database.Picture picture)
        {
            Id = picture.Id;
            Url = picture.Url;
            Caption = picture.Caption;
            IsHidden = picture.IsHidden;
            GalleryId = picture.GalleryId;
        }
        public PictureImpl()
        {
            
        }
    }

    
}
